﻿using ESRI.ArcGIS.Geodatabase;
using Lwllm.ArcengineProxy.Core.Annotations;
using Lwllm.ArcengineProxy.Core.Models;
using Lwllm.ArcengineProxy.Core.Proxys;

namespace Lwllm.ArcengineProxy.Core.Tests.Model
{
    public class MdbTest1 : BaseEntity
    {
        public MdbTest1(IFeature feature, FeatureClassProxy featureClassProxy) : base(feature, featureClassProxy)
        {
        }

        [FieldName("col1")] 
        public int Col1 { get; set; }
        [FieldName("col2")] 
        public string Col2 { get; set; }
        [UnMappedField] 
        public string Test { get; set; }

        public override string ToString()
        {
            return $"{nameof(Col1)}: {Col1}, {nameof(Col2)}: {Col2}, {nameof(Test)}: {Test}";
        }
    }
}